package com.lfnyxy.dao;



import com.lfnyxy.entity.ClientTypeEntity;
import com.lfnyxy.query.ClientTypeQuery;

import java.util.List;

/**
 * Created by ted on 17/5/8.
 */
public interface ClientTypeDao {
    int CreateItem(ClientTypeEntity entity);

    int UpdateItem(ClientTypeEntity entity);

    List <ClientTypeEntity> QueryPageList(ClientTypeQuery query);

    List <ClientTypeEntity> QueryAll();

    int QueryPageListCount(ClientTypeQuery query);

    int CheckIsExist(ClientTypeEntity entity);

    ClientTypeEntity QueryItem(int Id);

    int DeleteItem(int Id);
}